/* Use gets() for
   to read string from keyboard */

#include <iostream>
#include <cstdlib>

int main()
{
    char str[50];

    std::cout << "Enter string: ";
    gets(str);                      // Read string from keyboard
    std::cout << "Here's your string: " << str << std::endl;

    return 0;
}
